failure 509:
Requirement failed: {swprintf.05.02} swprintf_spec < 0 means error while error code (* errno) is not set
location |
trace |
/var/opt/lsb/test/olver-core/2013-07-25_08-37-08/util_format_wprintf_swprintf_scenario.utz (util_format_wprintf_swprintf_scenario.utt), line 2834 |
occurence |
scenario |
util_format_wprintf_swprintf_scenario |
specification function |
swprintf_spec() |
parameter value |
CallContext context = [pid=28885,thr=b7500700] |
parameter value |
WString * @ws = <NULL> |
parameter value |
WString * ws = <NULL> |
parameter value |
SizeT n = 0 |
parameter value |
WString * @format = abcd |
parameter value |
WString * format = abcd |
parameter value |
List * @arguments = < 1200 > |
parameter value |
List * arguments = < 1200 > |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(IntT) -1 |
coverage & branch |
C_Priority Process with high priority |
properties |
REQ failed |
swprintf.05.02 |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
According to LSB, on error swprintf() function shall return -1 and set errno global variable.
On the target machine, swprintf() function returns -1, but doesn't set error code in errno
global variable. This contradicts LSB standard for this function.
Additional information about this bug may be found at http://linuxtesting.org/results/report?num=S0505.
|
|